<?php
/**
 * Roles table class
 * @author 		TAMDV
 * @date		2008 07 22 (yyyy MM dd)
 * @package    	Joomus.JBS
 * @subpackage 	Components
 * @link 		http://localhost/jbschedule/administrator/index.php?option=com_jbschedule
 * @license		GNU/GPL
 */

// no direct access
//defined('_JEXEC') or die('Restricted access');


/**
 * Roles Table class
 *
 * @package    	Joomus.JBS
 * @subpackage	Components
 */
class TableRoles extends JTable {
	/**
	 * Primary Key
	 *
	 * @var int
	 */
	public $id = null;

	/**
	 * @var string
	 */
	public $name;

	/**
	 * @var string
	 */
	public $description;

	/**
	 *
	 *@access protected
	 *@param string $table name of the table in the db schema relating to child class
	 *@param string $key name of the primary key field in the table
	 *@param object $db JDatabase object
	 */
	function TableRoles(& $db) {
		parent::__construct ( '#__jbschedule_roles', 'id', $db );
		//TODO - Insert your code here
	}

	function getErrorMsg(){
		return JText :: _('ERROR');
	}
}

?>